package com.josework.springhelloworld.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.josework.springhelloworld.dto.PageResult;
import com.josework.springhelloworld.dto.user.UserEditParams;
import com.josework.springhelloworld.dto.user.UserSearchParams;
import com.josework.springhelloworld.dto.user.UserView;
import com.josework.springhelloworld.model.User;

public interface IUserService extends IService<User> {

    void saveOrUpdate(UserEditParams params);

    UserView getUserById(Long id);

    PageResult<UserView> findPage(UserSearchParams params);
}
